package xtu.www.common.util;

import android.content.Context;

/**
 * Created by huilin on 2017/6/15.
 */

public class ContextUtils {
    private Context context;

    private ContextUtils() {
    }

    private static class UtilsHolder {
        private static ContextUtils contextUtils = new ContextUtils();
    }

    public static ContextUtils getIns() {
        return UtilsHolder.contextUtils;
    }

    public void init(Context context) {
        this.context = context;
    }

    public Context getContext() {
        return context;
    }

}
